<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta name="Generator" content="WUKONG 1.0" />
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="Keywords" content="<?php echo $this->_var['keywords']; ?>" />
<meta name="Description" content="<?php echo $this->_var['description']; ?>" />

<title><?php echo $this->_var['page_title']; ?></title>

<link rel="shortcut icon" href="favicon.ico" />
<link rel="icon" href="animated_favicon.gif" type="image/gif" />
<link href="<?php echo $this->_var['ecs_css_path']; ?>" rel="stylesheet" type="text/css" />
<link href="<?php echo $this->_var['ecs_css_path_hgs']; ?>" rel="stylesheet" type="text/css" />
<link href="<?php echo $this->_var['ecs_css_path_users']; ?>" rel="stylesheet" type="text/css" />

<?php echo $this->smarty_insert_scripts(array('files'=>'jquery-1.7.1.min.js,jquery.json.js,jquery.form.min.js,hgsuser.js,transport.js,hgscommon.js,hgsstyle.js')); ?>

</head>
<body>
<div class="main">
	<div class="dw_head"></div>
	<div class="dw_nav" name="dw_nav" id="dw_nav"></div>
	<div class="mainbg" name="MainName">
		<?php echo $this->fetch('library/page_header.lbi'); ?>
	
	<div class="product">


  <?php echo $this->fetch('library/ur_here.lbi'); ?>



<div class="users_main">
  

        <?php echo $this->fetch('library/user_menu.lbi'); ?>

  
  
  <div class="users_main_right">
    
    
      
         
         <?php if ($this->_var['action'] == 'default'): ?>
				
				<div class="users_main_xinxi">
				
                    	<div class="user_main_xinx_left">
                        	<a href="javascript:;"><img src="themes/default/images/users_img.gif" /></a>
                        </div>
                        <div class="user_main_xinx_right">
                        	<Div class="user_main_xiangxi">
                            	<div class="user_right_lie  str" style="color:#58a000;">您好,<?php echo $this->_var['info']['username']; ?></div>
                                <div class="user_right_lie">
									<span style="float:left; color:#757d80;">手机号码：</span>
                                    <span class="user_shouji"><?php echo $this->_var['info']['mobile_phone']; ?></span>
                                    <a href="javascript:;" class="user_bangding"><?php if ($this->_var['info']['mobile_confirm'] == 0): ?> <a href="user.php?act=bindcell">未绑定</a><?php else: ?> 已绑定<?php endif; ?></a>
								</div>
                                <div class="user_right_lie">账户余额：<span><?php echo $this->_var['info']['user_money']; ?></span></div>
                                <div class="user_right_lie">待处理订单(<span><?php echo $this->_var['info']['order_unfinished_num_totle']; ?></span>)</div>
                                
                            </Div>
                            
                            <Div class="user_main_xiangxi">
                            	<!--<div class="user_right_lie">等级：<span><?php echo $this->_var['rank_name']; ?></span></div>-->
                                <div class="user_right_lie"></div>
                                <div class="user_right_lie">
                                <span style="float:left; color:#757d80;">邮箱：</span>
                                <span class="user_shouji str" style="width:150px;"><?php echo $this->_var['info']['email']; ?></span>
                           
                                </div>
                                <div class="user_right_lie"><?php echo $this->_var['lang']['your_integral']; ?>:<span><?php echo $this->_var['info']['integral']; ?></span></div> 
                                <div class="user_right_lie">已完成订单(<span><?php echo $this->_var['info']['order_finished_num_totle']; ?></span>)</div>
                            </Div>
                        </div>
                    </div>
					
					
					<div class="users_main_dingdan">
                    	<div class="users_main_dingdan_title">最近订单</div>
                        <div class="users_main_dingdan_bg">
                        	<Div class="users_dingdanbg_left"></Div>
                        	<Div class="users_dingdanbg_center">
                            	<div style="width:300px;">订单编号</div>
                                <div style="width:150px;">收货人</div>
                                <div style="width:150px;">下单时间</div>
                                <div style="width:140px;">订单状态</div>
                            </Div>
                            <Div class="users_dingdanbg_right"></Div>
                        </div>
                        <div class="users_main_dingdantiao_main">
							<?php $_from = $this->_var['orders']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }; $this->push_vars('', 'item');if (count($_from)):
    foreach ($_from AS $this->_var['item']):
?>
								<div class="users_main_dingdantiao">
									<div class="user_ddtiao_name" style="width:300px;"><a href="user.php?act=order_detail&order_id=<?php echo $this->_var['item']['order_id']; ?>" class="f6"><?php echo $this->_var['item']['order_sn']; ?></a></div>
									<div class="user_ddtiao_name" style="width:150px;"><?php echo $this->_var['item']['consignee']; ?></div>
									<div class="user_ddtiao_name" style="width:150px;"><?php echo $this->_var['item']['order_time']; ?></div>
									<div class="user_ddtiao_name" style="width:140px;">
									<?php if ($this->_var['item']['order_status'] == "无效订单"): ?>
									已取消
									<?php else: ?>
									<?php echo $this->_var['item']['order_status']; ?>
									<?php endif; ?>
									</div>
								</div>
                            <?php endforeach; endif; unset($_from); ?><?php $this->pop_vars();; ?>
                            
                        </div>
                    </div>
					
                     <?php echo $this->fetch('library/pages.lbi'); ?>

         <?php endif; ?>
         
         
     
    
	</div>
  
  
</div>

</div>  


</div>

        
</div>



<?php echo $this->fetch('library/page_footer.lbi'); ?>
</body>
<script type="text/javascript">
<?php $_from = $this->_var['lang']['clips_js']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }; $this->push_vars('key', 'item');if (count($_from)):
    foreach ($_from AS $this->_var['key'] => $this->_var['item']):
?>
var <?php echo $this->_var['key']; ?> = "<?php echo $this->_var['item']; ?>";
<?php endforeach; endif; unset($_from); ?><?php $this->pop_vars();; ?>
</script>
</html>
